package com.wfk.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 新闻信息
 * </p>
 *
 * @since 2019-01-07
 */
@TableName("t_sys_news")
public class SysNews implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 封面图
	 */
	private String url;

	/**
	 * 描述
	 */
	private String descval;

	/**
	 * 内容
	 */
	private String content;


	/**
	 * 1公告  2资讯 3常见问题
	 */
	private Integer status;
	@JSONField(format="yyyy-MM-dd HH:mm")
	private Date createtime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDescval() {
		return descval;
	}

	public void setDescval(String descval) {
		this.descval = descval;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getStatus() {
		return status;
	}
}
